module.exports = app => {
  const { STRING, INTEGER, JSON } = app.Sequelize;
  const tableModel = app.model.define('t_menu', {
    id: { type: INTEGER, primaryKey: true, autoIncrement: true },
    name: STRING(30),
    parentId: STRING(30),
    type: STRING(30),
    schema: JSON,
    path: STRING(30),
    siteId: STRING(30),
    icon:STRING(30),
    hideInMenu:Boolean,
    fullScreen:Boolean
  });
  return tableModel;
};
